method of device size selection